﻿using EfficientlyLazy.PhotoFramer.Entity;

namespace EfficientlyLazy.PhotoFramer.Service
{
    public interface ISettingService
    {
        T Get<T>(GlobalSettingName<T> settingName);
        T Get<T>(GlobalSettingName<T> settingName, T defaultValue);
        void Set<T>(GlobalSettingName<T> settingName, T value);

        SystemSettings LoadSystemSettings();
        void SaveSystemSettings(SystemSettings systemSettings);
    }
}